package com.example.design.template;

public class UserdaoImp implements  UserDao{
    @Override
    public void findAll() {
        JdBCtemplate.execute(new SqlCallback() {
            @Override
            void executeSql() {
                System.out.println("查找所有数据的方法");
            }
        });
    }

    @Override
    public void deleteByid(Integer id) {

        JdBCtemplate.execute(new SqlCallback() {
            @Override
            void executeSql() {
                System.out.println("通过id去删除数据");
            }
        });
    }
}
